package com.study.bloomFilter.googleGuava.model;

public class Person
{
    public int id;
    public String firstName;
    public String lastName;
    public int birthYear;
    
    public Person(int id, String firstName, String lastName, int birthYear)
    {
        super();
        this.id = id;
        this.firstName = firstName;
        this.lastName = lastName;
        this.birthYear = birthYear;
        //System.out.println(this.toString());
    }
    
    
    public int getId()
    {
        return id;
    }
    public void setId(int id)
    {
        this.id = id;
    }
    public String getFirstName()
    {
        return firstName;
    }
    public void setFirstName(String firstName)
    {
        this.firstName = firstName;
    }
    public String getLastName()
    {
        return lastName;
    }
    public void setLastName(String lastName)
    {
        this.lastName = lastName;
    }
    public int getBirthYear()
    {
        return birthYear;
    }
    public void setBirthYear(int birthYear)
    {
        this.birthYear = birthYear;
    }
    @Override
    public String toString()
    {
        return "Person [id=" + id + ", firstName=" + firstName + ", lastName=" + lastName + ", birthYear=" + birthYear
                + "]";
    }
    
    
}
